package com.sorhis.common.enums;

import lombok.Getter;


@Getter
public enum LoginMsgEnum {

    ACCOUNT_ERROR(10001, "账户不存在"),

    PASSWORD_ERROR(10002, "密码错误"),

    LOGIN_ERROR(10003, "登陆接口异常"),

    LOGIN_PARAMS_ERROR(10004 , "登陆参数异常"),

    LOGIN_VALIDITY_ERROR(10005 , "token有效设置异常"),

    ORIGN_PASSWORD_ERROR(10006, "原密码错误"),

    USERNAME_ISEXIT_ERROR(10007, "查询到重名用户，请联系管理员"),

    ;

    private Integer code;

    private String message;

    LoginMsgEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
